<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <%@include file="../../res/include/base-head.jsp"%>
	<%@include file="../../res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/circle/cirlceBase.js"></script>
  </head>
  <body>
  	<form id="data-form" class="dialog-data-form" style="width:500px;">
    	<table cellspacing="4">
   			<tr>
				<td class="field">圈子名称</td>
				<td>
					<input class="field easyui-validatebox"  data-options="required:true" type="text" name="name" value="${circle.name}" maxlength="15"/>
				</td>
			</tr>
			<tr>
				<td class="field">描述</td>
				<td colspan="3">
					<input class="field-title easyui-validatebox" type="text" name="remark" value="${circle.remark}" maxlength="100"
						data-options="validType:'bytelen[0,100]',invalidMessage:'不能超过100个字节'"/>
				</td>
			</tr>
			<tr>
				<td class="field">类型</td>
				<td>
					<select name="type">
						<option value="1" 
							<c:if test="${circle.type==1}"> selected="selected"</c:if>
						>官方圈</option>
						<option value="2"
							<c:if test="${circle.type==2}"> selected="selected"</c:if>
						>民间圈</option>
						<option value="3"
							<c:if test="${circle.type==3}"> selected="selected"</c:if>
						>平台圈</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="field">logo</td>
				<td>
				<div><img style="width:100px;height:100px;" src="${circle.fullLogo}"></div>
				</td>
			</tr>
			<tr>
				<td colspan="4" align="center">
					<input name="id" type="hidden" value="${circle.id}"/>
					<P class="search_form_btn">
						<input type="button" value="保存" class="icon_add" onclick="admin.cirlceBase.doUpdate()" />
					</P>
				</td>
			</tr>
			
    	</table>
   	</form>
  </body>
</html>
